/*************************************************************************
	>      File Name: database.h
	>    Description:	This file 
								  
	>         Author: Yang Xiaohan
	>           Mail: yangxiaohan_niki@163.com 
	>   Created Time: Wed 10 Aug 2022 13:29:09 CST
    >   Changed Time: Wed 10 Aug 2022 13:29:09 CST
 ************************************************************************/

#ifndef _DATABASE_H_
#define _DATABASE_H_
#include "sqlite3.h"

int db_open(sqlite3 **db);
int db_insert(sqlite3 *db,char *sample_buf);
int db_read(sqlite3 *db,char *db_buf);
int db_close(sqlite3 *db);

#endif
